Update devDependencies and Percy test fixes #16
+1,822
−1,307
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request updates development dependencies to support current browser versions and improves cross-browser test reliability. The most important changes include upgrading Selenium-related packages, adding fallback logic to run tests in Chrome if Firefox is unavailable, and updating documentation to reflect these changes.
Dependency and tooling updates:
Upgraded development dependencies in
package.jsonto latest versions:@percy/cli(1.30.11 → 1.31.2),selenium-webdriver(4.1.1 → 4.36.0),chromedriver(added at 141.0.1),geckodriver(3.0.1 → 6.0.2),http-server(0.11.1 → 14.1.1), andtodomvc-app-css(2.2.0 → 2.4.3).Updated
README.mdto document these dependency upgrades and provide guidance on configuring browser binaries via environment variables for compatibility.Test reliability and cross-browser support:
tests/test.jsto first attempt running Selenium tests in Firefox, and automatically fall back to Chrome headless mode if Firefox is unavailable, improving reliability across environments. [1] [2]chromedriverintests/test.jsto ensure the binary is available in PATH for Chrome-based tests.UI improvement:
index.htmlfor better visibility.